package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资分配对象 wuzifenpei
 *
 * @author ruoyi
 * @date 2022-09-02
 */
public class Wuzifenpei extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 分配编号 */
    @Excel(name = "分配编号")
    private String fenpeibianhao;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String wuzimingcheng;

    /** 物资种类 */
    @Excel(name = "物资种类")
    private String wuzizhonglei;

    /** 数量 */
    @Excel(name = "数量")
    private Long shuliang;

    /** 分配日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "分配日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fenpeiriqi;

    /** 分配原因 */
    @Excel(name = "分配原因")
    private String fenpeiyuanyin;

    /** 账号 */
    @Excel(name = "账号")
    private String zhanghao;

    /** 姓名 */
    @Excel(name = "姓名")
    private String xingming;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setFenpeibianhao(String fenpeibianhao)
    {
        this.fenpeibianhao = fenpeibianhao;
    }

    public String getFenpeibianhao()
    {
        return fenpeibianhao;
    }
    public void setWuzimingcheng(String wuzimingcheng)
    {
        this.wuzimingcheng = wuzimingcheng;
    }

    public String getWuzimingcheng()
    {
        return wuzimingcheng;
    }
    public void setWuzizhonglei(String wuzizhonglei)
    {
        this.wuzizhonglei = wuzizhonglei;
    }

    public String getWuzizhonglei()
    {
        return wuzizhonglei;
    }
    public void setShuliang(Long shuliang)
    {
        this.shuliang = shuliang;
    }

    public Long getShuliang()
    {
        return shuliang;
    }
    public void setFenpeiriqi(Date fenpeiriqi)
    {
        this.fenpeiriqi = fenpeiriqi;
    }

    public Date getFenpeiriqi()
    {
        return fenpeiriqi;
    }
    public void setFenpeiyuanyin(String fenpeiyuanyin)
    {
        this.fenpeiyuanyin = fenpeiyuanyin;
    }

    public String getFenpeiyuanyin()
    {
        return fenpeiyuanyin;
    }
    public void setZhanghao(String zhanghao)
    {
        this.zhanghao = zhanghao;
    }

    public String getZhanghao()
    {
        return zhanghao;
    }
    public void setXingming(String xingming)
    {
        this.xingming = xingming;
    }

    public String getXingming()
    {
        return xingming;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("addtime", getAddtime())
                .append("fenpeibianhao", getFenpeibianhao())
                .append("wuzimingcheng", getWuzimingcheng())
                .append("wuzizhonglei", getWuzizhonglei())
                .append("shuliang", getShuliang())
                .append("fenpeiriqi", getFenpeiriqi())
                .append("fenpeiyuanyin", getFenpeiyuanyin())
                .append("zhanghao", getZhanghao())
                .append("xingming", getXingming())
                .toString();
    }
}
